package com.neusoft.neuiotms.dcom.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.ShiftDTO;

public interface ShiftService {

    List<ShiftDTO> index(Searchable searchable);

    Page<ShiftDTO> search(Pageable pageable, Searchable searchable);

    ShiftDTO create(ShiftDTO dto);

    ShiftDTO update(Long id, ShiftDTO dto);

    ShiftDTO details(Long id);

    void delete(Long id);

    ShiftDTO updateStatus(Long id, boolean status);
}
